package com.hrm.mapper;

import java.util.List;


import com.hrm.pojo.Rewards;
import com.hrm.pojo.RewardsDto;

public interface RewardsMapper {

	public Rewards findById(String id);
	
	public List<Rewards> findAll();
	
	public void insert(Rewards reward);
	
	public void del(String id);
	
	public void update(Rewards rewards);

	public List<Rewards> findAllSearch(RewardsDto rewardsDto);
	
	//public List<Rewards> findAllSearch(@Param("rewards")Rewards rewards, @Param("names")String names);
}
